//
//  SGSEventsViewController.h
//  AgileNYC
//
//  Created by German on 29.07.14.
//  Copyright (c) 2014 Softlegion. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface SGSEventsViewController : UIViewController

@property (weak, nonatomic) IBOutlet UIView *pnlMenuList;
@property (weak, nonatomic) IBOutlet UITableView *pnlEventsListTable;
@property (weak, nonatomic) IBOutlet UIButton *btnConnect;

@property (weak, nonatomic) IBOutlet UILabel *labSessionId;



@property (retain, nonatomic) NSTimer * tmrLoadEvents;
@property (strong, nonatomic) NSString * controllerToBeOpened;

-(IBAction)btnMenuShow:(id)sender;
-(IBAction)btnConnectShow:(id)sender;
-(IBAction)onPushNotification:(NSDictionary*) userData;

-(void) checkLoginAndOpenController:(NSString *) controllerName;

-(void) showConnectionDialog;
-(void) checkConnectionRequest;
-(void) replyConnectionRequest:(BOOL) answer;

@end
